import request from '../common/request.js'
const api = {};
//设备设施筛选条件
api.GetEquipmentScreen = params => request.globalRequest("/api/services/app/Frame/GetEquipmentScreen", 'Get', params, 1);

//设备设施列表
api.ShowData = params => request.globalRequest("/api/services/app/ArchvieEquipment/Page", 'Post', params, 1);

//设备设施详情
api.GetEquipmentInfo = params => request.globalRequest("/api/services/app/ArchvieEquipment/GetEquipmentInfo", 'get', params, 1);

//设备详情--故障管理
api.GetFaultData = params => request.globalRequest("/api/services/app/MaintenanceFault/Page", 'post', params, 1);

//设备详情--维护记录
api.GetTaskData = params => request.globalRequest("/api/services/app/MaintenanceTask/Page", 'post', params, 1);

export default api;
